/**
 * Created by evantang on 2018/4/3.
 */
import {Pipe, PipeTransform} from "@angular/core";

@Pipe({name: 'riskSolutionStatus'})
export class RiskSolutionPipe implements PipeTransform {
  transform(value: string, args: string[]): any {
    switch (value) {
      case 'processing':
        return '整改中';
      case 'finished':
        return '整改完成';
      default:
        return '--';
    }
  }
}
